<?php

namespace App\Models\User\Repository;

use App\Models\Product\Model\Product;
use App\Models\User\Model\User;
use Illuminate\Database\Eloquent\Model;

class UserRepository extends Model{


    protected $user;

    public function __construct()
    {
        $this->user = new User();
    }

    public function getUsers()
    {
        return User::get()->pluck('name','id');
    }

    public function save($data)
    {
        $user = where('');
        $user = new User();
        //$user
    }

}

